package cn.edu.nyist.mapper;

import cn.edu.nyist.entity.Region;
import cn.edu.nyist.entity.RentHouse;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * (RentHouse)表数据库访问层
 *
 * @author makejava
 * @since 2021-03-21 17:54:40
 */
public interface RentHouseMapper {

    List<RentHouse> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);


    List<RentHouse> queryListBelongUser(Map<String, Object> paramMap);

    Integer queryCountBelongUser(Map<String, Object> paramMap);


    int insertRentHouse(RentHouse rentHouse);

    RentHouse selectById(Integer id);

    int delByRentHouseIds(List<Integer> ids);

    int editByRentHouse(RentHouse rentHouse);

    RentHouse selectByRegion(String region);
}